//
//  NSBundle+Y2Common.h
//  Y2Common
//
//  Created by MacPro on 2021/1/20.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN


@interface NSBundle (Y2Common)

/// Framework中获取Bundle（framework与bundle name相同的情况使用这个方法）
+ (NSBundle *)y2FrameworkBundleWithName:(NSString *)name;

+ (NSBundle *)y2FrameworkBundleWithFrameworkName:(NSString *)frameworkName bundleName:(NSString *)bundleName;

@end

NS_ASSUME_NONNULL_END
